﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012CD RID: 4813
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncChessRogueMainStoryFinishScNotify : IMessage<SyncChessRogueMainStoryFinishScNotify>, IMessage, IEquatable<SyncChessRogueMainStoryFinishScNotify>, IDeepCloneable<SyncChessRogueMainStoryFinishScNotify>, IBufferMessage
	{
		// Token: 0x17003CDA RID: 15578
		// (get) Token: 0x0600D7A7 RID: 55207 RVA: 0x00242BB7 File Offset: 0x00240DB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncChessRogueMainStoryFinishScNotify> Parser
		{
			get
			{
				return SyncChessRogueMainStoryFinishScNotify._parser;
			}
		}

		// Token: 0x17003CDB RID: 15579
		// (get) Token: 0x0600D7A8 RID: 55208 RVA: 0x00242BBE File Offset: 0x00240DBE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncChessRogueMainStoryFinishScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003CDC RID: 15580
		// (get) Token: 0x0600D7A9 RID: 55209 RVA: 0x00242BD0 File Offset: 0x00240DD0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncChessRogueMainStoryFinishScNotify.Descriptor;
			}
		}

		// Token: 0x0600D7AA RID: 55210 RVA: 0x00242BD7 File Offset: 0x00240DD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncChessRogueMainStoryFinishScNotify()
		{
		}

		// Token: 0x0600D7AB RID: 55211 RVA: 0x00242BDF File Offset: 0x00240DDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncChessRogueMainStoryFinishScNotify(SyncChessRogueMainStoryFinishScNotify other) : this()
		{
			this.chessRogueMainStoryId_ = other.chessRogueMainStoryId_;
			this.cEHLEHNCNOF_ = other.cEHLEHNCNOF_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D7AC RID: 55212 RVA: 0x00242C10 File Offset: 0x00240E10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncChessRogueMainStoryFinishScNotify Clone()
		{
			return new SyncChessRogueMainStoryFinishScNotify(this);
		}

		// Token: 0x17003CDD RID: 15581
		// (get) Token: 0x0600D7AD RID: 55213 RVA: 0x00242C18 File Offset: 0x00240E18
		// (set) Token: 0x0600D7AE RID: 55214 RVA: 0x00242C20 File Offset: 0x00240E20
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ChessRogueMainStoryId
		{
			get
			{
				return this.chessRogueMainStoryId_;
			}
			set
			{
				this.chessRogueMainStoryId_ = value;
			}
		}

		// Token: 0x17003CDE RID: 15582
		// (get) Token: 0x0600D7AF RID: 55215 RVA: 0x00242C29 File Offset: 0x00240E29
		// (set) Token: 0x0600D7B0 RID: 55216 RVA: 0x00242C31 File Offset: 0x00240E31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint CEHLEHNCNOF
		{
			get
			{
				return this.cEHLEHNCNOF_;
			}
			set
			{
				this.cEHLEHNCNOF_ = value;
			}
		}

		// Token: 0x0600D7B1 RID: 55217 RVA: 0x00242C3A File Offset: 0x00240E3A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncChessRogueMainStoryFinishScNotify);
		}

		// Token: 0x0600D7B2 RID: 55218 RVA: 0x00242C48 File Offset: 0x00240E48
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncChessRogueMainStoryFinishScNotify other)
		{
			return other != null && (other == this || (this.ChessRogueMainStoryId == other.ChessRogueMainStoryId && this.CEHLEHNCNOF == other.CEHLEHNCNOF && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D7B3 RID: 55219 RVA: 0x00242C88 File Offset: 0x00240E88
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ChessRogueMainStoryId != 0U)
			{
				num ^= this.ChessRogueMainStoryId.GetHashCode();
			}
			if (this.CEHLEHNCNOF != 0U)
			{
				num ^= this.CEHLEHNCNOF.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D7B4 RID: 55220 RVA: 0x00242CE0 File Offset: 0x00240EE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D7B5 RID: 55221 RVA: 0x00242CE8 File Offset: 0x00240EE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D7B6 RID: 55222 RVA: 0x00242CF4 File Offset: 0x00240EF4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ChessRogueMainStoryId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.ChessRogueMainStoryId);
			}
			if (this.CEHLEHNCNOF != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.CEHLEHNCNOF);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D7B7 RID: 55223 RVA: 0x00242D50 File Offset: 0x00240F50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ChessRogueMainStoryId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ChessRogueMainStoryId);
			}
			if (this.CEHLEHNCNOF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.CEHLEHNCNOF);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D7B8 RID: 55224 RVA: 0x00242DA8 File Offset: 0x00240FA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncChessRogueMainStoryFinishScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ChessRogueMainStoryId != 0U)
			{
				this.ChessRogueMainStoryId = other.ChessRogueMainStoryId;
			}
			if (other.CEHLEHNCNOF != 0U)
			{
				this.CEHLEHNCNOF = other.CEHLEHNCNOF;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D7B9 RID: 55225 RVA: 0x00242DF8 File Offset: 0x00240FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D7BA RID: 55226 RVA: 0x00242E04 File Offset: 0x00241004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					if (num != 96U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.CEHLEHNCNOF = input.ReadUInt32();
					}
				}
				else
				{
					this.ChessRogueMainStoryId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040055F4 RID: 22004
		private static readonly MessageParser<SyncChessRogueMainStoryFinishScNotify> _parser = new MessageParser<SyncChessRogueMainStoryFinishScNotify>(() => new SyncChessRogueMainStoryFinishScNotify());

		// Token: 0x040055F5 RID: 22005
		private UnknownFieldSet _unknownFields;

		// Token: 0x040055F6 RID: 22006
		public const int ChessRogueMainStoryIdFieldNumber = 10;

		// Token: 0x040055F7 RID: 22007
		private uint chessRogueMainStoryId_;

		// Token: 0x040055F8 RID: 22008
		public const int CEHLEHNCNOFFieldNumber = 12;

		// Token: 0x040055F9 RID: 22009
		private uint cEHLEHNCNOF_;
	}
}
